using UnityEngine;

public class RotateTowardsCamera : MonoBehaviour
{
	public Vector3 up = Vector3.up;

	private void Update()
	{
		Transform transform = base.transform;
		transform.rotation = Quaternion.LookRotation(transform.position - Camera.main.transform.position, up);
	}
}
